package com.log.constant;/**
 * @author zwj
 * @date 2021/4/8
 * @description TODO
 */

/**
 * @author: zwj
 * @description:
 * @data: 2021/4/8
 **/
public class CommonConstants {
    /**
     * 当前用户ID
     */
    public static final String CONTEXT_KEY_USER_ID = "currentUserId";
    /**
     * 当前用户名称
     */
    public static final String CONTEXT_KEY_USERNAME = "currentUserName";
    /**
     * 当前用户账号
     */
    public static final String CONTEXT_KEY_USER_NAME = "currentUser";
    /**
     * 当前用户token
     */
    public static final String CONTEXT_KEY_USER_TOKEN = "currentUserToken";
    /**
     * 当前用户所属组织编号
     */
    public static final String CONTEXT_KEY_USER_ORG_ID = "currentUserOrgId";


    /**
     * 常用接口
     */
    public static class Url {
        //免费图床
        public static final String SM_MS_URL = "https://sm.ms/api";

        // IP归属地查询
        public static final String IP_URL = "http://whois.pconline.com.cn/ipJson.jsp?ip=%s&json=true";
    }
}
